﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FFS.Model;

namespace FFS.IDAL
{
    public interface IFinanceDetailDAO
    {
        List<FinanceDetailInfo> GetAllFinanceDetails();

        List<FinanceDetailInfo> GetFinanceDetailsByFamilyMemberName(string familyMember);

        List<FinanceDetailInfo> GetFinanceDetailsByFinanceItemKey(string financeItemKey);

        List<FinanceDetailInfo> GetFinanceDetailsByFinanceItemName(string financeItemName);

        List<FinanceDetailInfo> GetFinanceDetailsBySearchContent(string searchContent);

        int CreateFinanceDetail(FinanceDetailInfo detail);

        int ModifyFinanceDetail(FinanceDetailInfo detail);

        int DeteleFinanceDetail(FinanceDetailInfo detail);

        bool IsExistsFinanceDetails(int FamilyMemberID, string FinanceItemKey, string FinanceType);
    }
}
